package cn.tutu.shop.service;

import java.util.List;

import com.github.pagehelper.PageInfo;

import cn.tutu.blockchain.common.Page;
import cn.tutu.shop.entity.Express;
import cn.tutu.shop.entity.Order;
import cn.tutu.shop.entity.OrderItem;

public interface OrderService {

	void create(String userId, List<OrderItem> items);

	PageInfo<Order> getByUser(String userId, Page page);

	void createOnly(OrderItem item, Express express);

}
